<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<%@include file="/commons/commonList.jsp" %>
<script type="text/javascript">
	function openAdd(){
		parent.openProjectAdd();
	}

	function openEdit(){
		parent.openProjectEdit();
	}

	function openDelete(){
		parent.project.deleteProject();
	}
</script>
</head>
<body>
	<ec:ceTable items="projectList" autoIncludeParameters="true"
			var="projectItem"
			action="${ctx}/house_projectAction.do?method=initProjectList&areaId=${areaId}"
			rowsDisplayed="5"
			width="100%"
			view="pmsview"
			styleClass="gridData"
			>
			<ec:ceRow styleClass="grid" onclick="parent.project.setProjectInfo('${projectItem.keyword}');" onContextMenu="return ShowContextMenu(event,'quick_rightmenu')">
				<ec:ceColumn property="name" headerCell="pmsHeadrCell" width="40%" title="期数名称">

				</ec:ceColumn>
				<ec:ceColumn property="#" headerCell="pmsHeadrCell"  width="30%"  title="占地面积(㎡)">
					${projectItem.layout.sizeTotal}
				</ec:ceColumn>
				<ec:ceColumn property="housePropertyNo" headerCell="pmsHeadrCell"   width="30%" title="总建筑面积(㎡)">
					${projectItem.layout.sizeConstruct}
				</ec:ceColumn>
			</ec:ceRow>
	</ec:ceTable>


<!--------------------右键显示 新增更多菜单 开始---------------------->
<div id="quick_rightmenu" class="quick_menu2" style="display:none;">
  <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg" onMouseOver="showmy2menu('quick_rightmenu')" onMouseOut="hidden2menu('quick_rightmenu')">
       <tr>
      <td>
	  <table width="100%" border="0" cellpadding="2" cellspacing="0">
	    <tr>
         <td class="quickMenu_toolbarico"><a href="#" onClick="openAdd();" onFocus="this.blur()"><img src="${ctx}/images/ico_newfile.gif" alt="新增" border="0" align="absbottom"/>&nbsp;新 增</a></td>
          </tr>
        <tr>
         <td class="quickMenu_toolbarico"><a href="#" onFocus="this.blur()" onClick="openEdit();"><img src="${ctx}/images/ico_amend.gif" alt="更改" border="0" align="absbottom"/>&nbsp;更 改</a></td>
          </tr>
		   <tr>
         <td class="quickMenu_toolbarico"><a href="#" onClick="openDelete();" onFocus="this.blur()"><img src="${ctx}/images/ico_delete.gif" alt="删除" width="16" height="16" border="0" align="absbottom">&nbsp;删 除</a></td>
          </tr>

      </table></td>
    </tr>
  </table>
</div>
</body>
</html>